package org.travel_system.service;

import org.travel_system.pojo.Hotel;
import org.travel_system.pojo.Room;

import java.util.List;

public interface HotelService {
    List<Hotel> getHotels();
   List<Hotel> getHotelsImage();

    Hotel getHotelByName(String name);

    List<Hotel> getSearchHotelsByName(String name);

    int deleteHotel(String name);

    int updateHotel(Hotel hotel);

    int addHotel(Hotel hotel);

    List<Room> getRooms(String hotelName);

    Room getRoomByRoomNumber(String hotelName, int roomNumber);

    int addRoom(Room room);

    int deleteRoom(String hotelName, String roomNumber);

    int updateRoom(Room room);

    List<Room> getAllRooms();
}
